home *** CD-ROM | disk | FTP | other *** search
/ Agent Central Host Computer / Agent - Central Host Computer.iso / _SETUP.1 / tokens.sql < prev    next >
Text File  |  2000-05-12  |  1KB  |  31 lines

  1. -- RCSVER $Id: tokens.sql,v 1.6 2000-03-21 13:26:46-06 randy Exp $ */
  2. -- *************************************************************************
  3. --       Copyright (C) 1999, Agent Systems, Inc. All Rights Reserved.
  4. --
  5. -- Name:        tokens.sql
  6. -- Date:        02/01/00
  7. -- memo:        Randy Wood
  8. -- Description:    Create the tokens table.  This table is used to confgure
  9. --        the token acceptance for the farebox.
  10. -- Changes:
  11. -- ************************************************************************* */
  12. CREATE TABLE tokens
  13. (
  14.     token      NUMBER(38),        /* ID of this token from currency table */
  15.     fareset    NUMBER(38),        /* Fareset this token is valid in */
  16.     fare        NUMBER(38),    /* Fare that is automatically recorded
  17.                      * when this token is accepted.
  18.                      */
  19.     coin_size    NUMBER(38),    /* Value of coin that has similar size
  20.                      * This value is used to calculate
  21.                      * volume for determining when the
  22.                      * cashbox is full.
  23.                      */
  24.     descr        VARCHAR2(20),    /* Description to display at OCU */
  25.     config_num    NUMBER(38),
  26.       beep_class    NUMBER(38),    /* beep class to sound when valid
  27.                      * token is accepted by farebox
  28.                      */
  29.       CONSTRAINT pk_tokens PRIMARY KEY (token, fareset, config_num)
  30. );
  31.